﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using ClimateControl.Infrastructure;
using Microsoft.Practices.Prism.Commands;

namespace ClimateControl.Client.ViewModel
{
    public class MainViewModelDesign// : IMainViewModel
    {
        #region Properties

        public State State
        {
            get { return State.VoteSent; }
        }    
        public double Progress { get { return 0.5;} }
        public bool IsAirConOn
        {
            get { return true; }
        }
        public int Temperature
        {
            get { return 21; }
        }
        public int VoteExpiry
        {
            get { return 20; }
        }
        public bool IsBigFanOn
        {
            get { return true; }
        }
        public Vote MyLastVote
        {
            get { return new Vote(); }
        }
        public IEnumerable<Vote> PerfectVotes
        {
            get { return new List<Vote>() { MyLastVote }; }
        }
        public IEnumerable<Vote> TooColdVotes
        {
            get { return PerfectVotes; }
        }
        public IEnumerable<Vote> TooHotVotes
        {
            get { return PerfectVotes; }
        }

        #endregion Properties

        #region Commands

        public DelegateCommand PerfectCommand
        {
            get { return null; }
        }
        public DelegateCommand TooColdCommand
        {
            get { return null; }
        }
        public DelegateCommand TooHotCommand
        {
            get { return null;  }
        }

        #endregion Commands
    }
}
